import baseConfig from "./base";

const config = {
  appEnv: "dist",
  budgetUrl: "/budget-service",
  baseUrl: "",
  receiptUrl: "/receipt",
  pushUrl: "/push",
  payUrl: "/payment",
  oldHomepage: "/old/#/my/expense/list",
  newHomepage: "/main/dashboard",
  contractUrl: "/contract",
  ssoUrl: "",
  wsUrl: `ws${location.protocol.indexOf("https") > -1 ? "s" : ""}://${
    location.host
  }`,
  formCodes: ["MCD1001", "MCD2001", "MCD4001", "MCD5001"],
  realmIds: {
    "mcdtest2019.huilianyi.com": "1128254537784377346", // mcd stage环境，因为自动部署测试也用的dist脚本，所以只能配在这dist.js了
    "mcdtest2020.huilianyi.com": "1128254537784377347", // mcd 2020 test环境
    "mcddev2020.huilianyi.com": "11282545367372209", // mcd uat(dev)环境
    "tes.mcd.com.cn": "11272582367373309", // mcd 生产环境
    "mcdtest2021.huilianyi.com": "1128254537784377348", // mcd2021 环境
  },
  realmId: "11272582367373309", // 默认生产环境的realmId
  zxHosts: {
    "mcdtest2019.huilianyi.com": "https://hotelwebstage.huilianyi.com", // mcd stage环境，因为自动部署测试也用的dist脚本，所以只能配在这dist.js了
    "mcddev2020.huilianyi.com": "https://hotelwebuat.huilianyi.com", // mcd uat(dev)环境
  },
  zxHost: "https://zhenxuanweb.huilianyi.com", // 默认生产环境的甄选Host
};

export default Object.freeze(Object.assign({}, baseConfig, config));
